package com.yitao.client.dto.cashCoupons;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Author: wwl
 * @Date: 2020/3/10 14:05
 * @Description:
 */
public class CashCouponsDto extends BaseDto {
    /**
     * 代金券id 主键
     */
    @ApiModelProperty("代金券id 主键")
    private Long id;


    /**
     * 代金券名称
     */
    @ApiModelProperty("代金券名称")
    private String couponsName;


    /**
     * 代金券状态，1：代金券，2:退款券
     */
    @ApiModelProperty("代金券状态，1：代金券，2:退款券")
    private Integer couponsType;


    /**
     * 可使用面额 单位为分
     */
    @ApiModelProperty("可使用面额 单位为分")
    private Long faceValue;


    /**
     * 代金券发放数量
     */
    @ApiModelProperty("代金券发放数量")
    private Integer issuedNumber;


    /**
     * 现金券单人领取上限
     */
    @ApiModelProperty("现金券单人领取上限")
    private Integer couponsGetCount;


    /**
     * 满足金额 单位为分
     */
    @ApiModelProperty("满足金额 单位为分")
    private Long amountValue;


    /**
     * 有效天数
     */
    @ApiModelProperty("有效天数")
    private Integer validDays;


    /**
     * 代金券使用开始时间
     */
    @ApiModelProperty("代金券使用开始时间")
    private Date startTime;


    /**
     * 代金券使用结束时间
     */
    @ApiModelProperty("代金券使用结束时间")
    private Date endTime;


    /**
     * 用户对象，1:所有用户，2:指定用户
     */
    @ApiModelProperty("用户对象，1:所有用户，2:指定用户")
    private Integer couponsUserType;


    /**
     * 现金券使用对象：1:全部商品，2:指定商品
     */
    @ApiModelProperty("现金券使用对象：1:全部商品，2:指定商品")
    private Integer couponsGoodsType;


    /**
     * 现金券所属门店id
     */
    @ApiModelProperty("现金券所属门店id")
    private Long shopId;


    /**
     * 代金券状态，1：代金券，2:退款券
     */
    @ApiModelProperty("代金券状态:1:未启用 2:已启用 3.已关闭")
    private Integer couponsStatus;
    /**
     * 是否删除(0:启用 1:禁用)
     */
    @ApiModelProperty("是否删除(0:启用 1:禁用)")
    private Boolean deleteStatus;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    /**
     * 创建人id
     */
    @ApiModelProperty("创建人id")
    private Long createBy;


    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date updateTime;


    /**
     * 修改人id
     */
    @ApiModelProperty("修改人id")
    private Long updateBy;

    @ApiModelProperty("代金券使用开始时间-前端使用")
    private String startTimeStr;

    @ApiModelProperty("代金券使用结束时间-前端使用")
    private String endTimeStr;

    public String getStartTimeStr() {
        return startTimeStr;
    }

    public void setStartTimeStr(String startTimeStr) {
        this.startTimeStr = startTimeStr;
    }

    public String getEndTimeStr() {
        return endTimeStr;
    }

    public void setEndTimeStr(String endTimeStr) {
        this.endTimeStr = endTimeStr;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCouponsName() {
        return couponsName;
    }

    public void setCouponsName(String couponsName) {
        this.couponsName = couponsName;
    }

    public Integer getCouponsStatus() {
        return couponsStatus;
    }

    public void setCouponsStatus(Integer couponsStatus) {
        this.couponsStatus = couponsStatus;
    }

    public Long getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(Long faceValue) {
        this.faceValue = faceValue;
    }

    public Integer getIssuedNumber() {
        return issuedNumber;
    }

    public void setIssuedNumber(Integer issuedNumber) {
        this.issuedNumber = issuedNumber;
    }

    public Integer getCouponsGetCount() {
        return couponsGetCount;
    }

    public void setCouponsGetCount(Integer couponsGetCount) {
        this.couponsGetCount = couponsGetCount;
    }

    public Long getAmountValue() {
        return amountValue;
    }

    public void setAmountValue(Long amountValue) {
        this.amountValue = amountValue;
    }

    public Integer getValidDays() {
        return validDays;
    }

    public void setValidDays(Integer validDays) {
        this.validDays = validDays;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getCouponsUserType() {
        return couponsUserType;
    }

    public void setCouponsUserType(Integer couponsUserType) {
        this.couponsUserType = couponsUserType;
    }

    public Integer getCouponsGoodsType() {
        return couponsGoodsType;
    }

    public void setCouponsGoodsType(Integer couponsGoodsType) {
        this.couponsGoodsType = couponsGoodsType;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getCouponsType() {
        return couponsType;
    }

    public void setCouponsType(Integer couponsType) {
        this.couponsType = couponsType;
    }

    public Boolean getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Boolean deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

}
